package afeng.run.jenkinsdemodeploy.service;

import afeng.run.jenkinsdemodeploy.mapper.CameraMapper;
import afeng.run.jenkinsdemodeploy.model.CameraInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CameraServiceImpl implements CameraService {

    @Resource
    private CameraMapper cameraMapper;

    @Override
    public List<CameraInfo> getCameraInfoList() {
        List<CameraInfo> cameraInfoList = cameraMapper.getCameraInfoList();
        return cameraInfoList;
    }
}
